package co.edu.usbcali.modelo;
// Generated 26/09/2011 12:36:11 AM by Zathura powered by Hibernate Tools 3.2.4.GA


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * ActaSeguimiento generated by Zathura powered by Hibernate-tools(hbm2java)
 */
@Entity
@Table(name="ACTA_SEGUIMIENTO"
    ,schema="GPE"
)
public class ActaSeguimiento  implements java.io.Serializable {


     private Long codSeg;
     private Practicante practicante;     
     private Date fechaSeg;
     private String celularTutorSeg;
     private String laboresSeg;
     private String accionesSeg;

    public ActaSeguimiento() {
    }

	
    public ActaSeguimiento(Long codSeg, Practicante practicante, Date fechaSeg, String laboresSeg, String accionesSeg) {
        this.codSeg = codSeg;
        this.practicante = practicante;
        this.fechaSeg = fechaSeg;
        this.laboresSeg = laboresSeg;
        this.accionesSeg = accionesSeg;
    }
    public ActaSeguimiento(Long codSeg, Practicante practicante, Date fechaSeg, String celularTutorSeg, String laboresSeg, String accionesSeg) {
       this.codSeg = codSeg;
       this.practicante = practicante;
       this.fechaSeg = fechaSeg;
       this.celularTutorSeg = celularTutorSeg;
       this.laboresSeg = laboresSeg;
       this.accionesSeg = accionesSeg;
    }
   
    @SequenceGenerator(name="G_Seg",initialValue=1,allocationSize=1,sequenceName="incremento_cod_seg")
    @Id @GeneratedValue(generator="G_Seg",strategy=GenerationType.SEQUENCE)
    
    @Column(name="COD_SEG", unique=true, nullable=false, precision=10, scale=0)
    public Long getCodSeg() {
        return this.codSeg;
    }
    
    public void setCodSeg(Long codSeg) {
        this.codSeg = codSeg;
    }
    
@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="COD_PRA", nullable=false)
    public Practicante getPracticante() {
        return this.practicante;
    }
    
    public void setPracticante(Practicante practicante) {
        this.practicante = practicante;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="FECHA_SEG", nullable=false, length=11)
    public Date getFechaSeg() {
        return this.fechaSeg;
    }
    
    public void setFechaSeg(Date fechaSeg) {
        this.fechaSeg = fechaSeg;
    }
    
    @Column(name="CELULAR_TUTOR_SEG", length=30)
    public String getCelularTutorSeg() {
        return this.celularTutorSeg;
    }
    
    public void setCelularTutorSeg(String celularTutorSeg) {
        this.celularTutorSeg = celularTutorSeg;
    }

    
    @Column(name="LABORES_SEG", nullable=false)
    public String getLaboresSeg() {
        return this.laboresSeg;
    }
    
    public void setLaboresSeg(String laboresSeg) {
        this.laboresSeg = laboresSeg;
    }

    
    @Column(name="ACCIONES_SEG", nullable=false)
    public String getAccionesSeg() {
        return this.accionesSeg;
    }
    
    public void setAccionesSeg(String accionesSeg) {
        this.accionesSeg = accionesSeg;
    }




}


